package com.company.笔试.奇偶判断;

import java.util.HashMap;
import java.util.Scanner;

/**
 * @author ylr
 * @version 1.0.0
 * @ClassName Solution.java
 * @Description TODO
 * @createTime 2021年10月16日 19:35:00
 */
public class Solution {
    public static Integer res=0;


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        in.nextLine();
        HashMap<String, Integer> map = new HashMap<>();
        String ss = in.nextLine();
        String[] strings = ss.split(" ");

        for (String s : strings) {

            if (map.containsKey(s)){
                map.put(s,map.get(s)+1);
            }else {
                map.put(s,1);
            }
        }

        map.forEach((k,v)->{
            if (v%2!=0){
                res++;
            }
        });

        System.out.println(res);


    }
}
